package com.weixinli.biz.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.weixinli.beans.FmMusic;
import com.weixinli.beans.PageInfo;
import com.weixinli.biz.IFmMusicBiz;
import com.weixinli.dao.IFmMusicDao;
@Service("iFmMusicBiz")
public class FmMusicBizImpl implements IFmMusicBiz {
	private IFmMusicDao iFmMusicDao;
	public List<FmMusic> findAll(PageInfo pageInfo) {
		System.out.println(pageInfo+"=====================fmMusic====pageInfo");
		return iFmMusicDao.findAll(pageInfo);
	}
	public FmMusic selectMid(FmMusic fm) {
		return iFmMusicDao.selectMid(fm);
	}
	
	public int updateMusic(FmMusic fm) {
		return iFmMusicDao.updateMusic(fm);
	}
	
	public int addFmMusic(FmMusic mu) {
		return iFmMusicDao.addFmMusic(mu);
	}
	
	public int delFmMusic(FmMusic mu) {
		return iFmMusicDao.delFmMusic(mu);
	}

	public int modFmMusic(FmMusic at) {
		return 0;
	}

	public int getTotalFmMusic() {
		return 0;
	}

	public List<FmMusic> findtype(String type) {
		return null;
	}

	public List<FmMusic> findOne(Integer id) {
		return null;
	}

	public List<FmMusic> findDimMusic(String str1, String str2) {
		return null;
	}

	public List<FmMusic> findDimsMusic(String str) {
		return null;
	}
	@Resource(name="iFmMusicDao")
	public void setiFmMusicDao(IFmMusicDao iFmMusicDao) {
		this.iFmMusicDao = iFmMusicDao;
	}
}
